<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="div">
    <div>{{msg}}</div>
    <div v-html="msg"></div>
    <button v-html="msg"></button>
    <a href="http://www.baidu.com" v-html="msg"></a>
    <div v-text="msg"></div>
    <button t-text="msg"></button>
    <a href="http://www.baidu.com" v-text="msg"></a>
</div>
<script src="js/vue.js"></script>
<script >
    let vm = new Vue({
        el:'#div',
        data:{
            msg:'<h1>Hello !!</h1>'
        },
        methods:{

        }
    });
</script>
</body>
</html>